home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / plotting / imagetoo / imagetl1.lha / Imagetool / HDF / Makefile < prev   
Encoding:
Makefile  |  1990-09-20  |  2.1 KB  |  79 lines

  1. #/*****************************************************************************
  2. #* 
  3. #*              NCSA HDF version 3.10
  4. #*                July 1, 1990
  5. #*
  6. #* NCSA HDF Version 3.10 source code and documentation are in the public
  7. #* domain.  Specifically, we give to the public domain all rights for future
  8. #* licensing of the source code, all resale rights, and all publishing rights.
  9. #* 
  10. #* We ask, but do not require, that the following message be included in all
  11. #* derived works:
  12. #* 
  13. #* Portions developed at the National Center for Supercomputing Applications at
  14. #* the University of Illinois at Urbana-Champaign.
  15. #* 
  16. #* THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
  17. #* SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
  18. #* WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
  19. #* 
  20. #*****************************************************************************/
  21. #
  22. # Makefile for compiling required HDF routines and creating the library
  23. # for use with ImageTool 1.1 beta.
  24. #
  25. # THIS IS ONLY A SUBSET OF THE NCSA HDF VERSION 3.10! THERE IS A
  26. # SEPARATE DISTRIBUTION FOR NCSA HDF. See the anonymous FTP server
  27. # README.FIRST file for details.
  28. #
  29. # If you type 
  30. #
  31. #            make
  32. #
  33. # in this directory, correct execution will result in the library file
  34. #
  35. #            libdf.a
  36. #
  37. # in this directory.
  38. #
  39. # The header files required are all in this directory.
  40. #
  41. #------------------------------------------------------------------------------
  42. #
  43. CFLAGS = -O
  44. #
  45. OBJS =        df.o \
  46.         dfr8.o \
  47.         dfgroup.o \
  48.         dfcomp.o \
  49.         dfimcomp.o \
  50.         dfkit.o \
  51.         dfp.o \
  52.         dfgr.o \
  53.         dfsd.o
  54. #
  55. # include this simply to prevent the printing of the compile line.
  56. #
  57. .c.o:
  58.     @ $(CC) $(CFLAGS) -c $<
  59. #
  60. # include 1>/dev/null 2>&1 to prevent the printing of any output
  61. #
  62. libdf.a: $(OBJS)
  63.     @ if [ -f libdf.a ]; then \
  64.         ar ruv libdf.a $? 1>/dev/null 2>&1; \
  65.     else \
  66.         ar rcv libdf.a $? 1>/dev/null 2>&1; \
  67.     fi
  68.     @ ranlib libdf.a
  69. #
  70. df.o:        dfi.h df.h
  71. dfr8.o:        dfrig.h dfi.h df.h
  72. dfgroup.o:    dfi.h df.h
  73. dfcomp.o:    dfi.h df.h
  74. dfimcomp.o:    dfi.h df.h
  75. dfkit.o:    dfi.h df.h
  76. dfp.o:        dfi.h df.h
  77. dfgr.o:        dfgr.h dfi.h df.h
  78. dfsd.o:        dfsd.h dfi.h df.h dfconvert.h
  79.